<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta name="format-detection" content="telphone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<!-- UC强制全屏 -->  
<meta name="full-screen" content="yes">
<!-- QQ强制全屏 -->
<meta name="x5-fullscreen" content="true">
<!-- UC应用模式-->
<meta name="browsermode" content="application">
<!-- QQ应用模式 -->
<meta name="x5-page-mode" content="app">
</head>
<script>
	var gameNameTemp = '{$kjjg_id}';
	var time = {$jztime_fur};
	var next_qh = '{$syiq}';
	var has = '{$has}';
</script>
<link rel="stylesheet" href="__TEMPLATE__/mobile/index/css/global.css" type="text/css">
<script src="__TEMPLATE__/sysme/js/jquery-1.9.1.min.js"></script>
<script src="__TEMPLATE__/sysme/js/getTime.js" type="text/javascript" charset="utf-8"></script>

<style>
body,#wrapper_1 {
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
} /*解决苹果滚动条卡顿的问题*/
#wrapper_1 {
	overflow-y: visible !important;
}
body.login-bg {
	padding-top: 97px;
}
.gray {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
}
.header{
	height: 80px;
}
.header #reveal-left{
	margin-top: 8px;
}
.header #reveal-left-app {
   /* background: url(../img/blank_00.png) no-repeat;*/
    background-size: 30.5px;
    height: 25px;
    width: 30.5px;
    display: block;
}
</style>
<body>
	<div class="header">
		<div class="headerTop">
			<div class="ui-toolbar-left" style="margin-top: 16px;margin-left:5px;">
				<button id="reveal-left-app" onClick="destoryWin()">reveal</button>
			</div>
			<div style="width: 95%;height: 60px;background-color: white;margin-left: 47px;margin-top: 10px;border-radius: 30px;">
				<div style="display: inline-block;width: 50px;margin-left: 8px;margin-top: 5px;">
					<img src="__TEMPLATE__/sysme/images/{$caipiao.id}.png" alt="" />
				</div>
				<p style="margin-top: -48px;margin-left: 62px;position: relative;"><span>{$caipiao.cp_name}</span>
					<span style="float: right;color: #999;font-size:14px;margin-right: 65px;">距离开奖</span>
				 
			
				</p>
				<p style="margin-top: 6px;margin-left: 62px;color: #999;font-size: 0.875rem;line-height:19px;"><span id="realissue">第{$caipiao.qihao}期</span>
					<span class="c" id="djsdemo" style="">
					    	<span class="second" style="color: #d91d36;float: right;margin-right: 45px;font-size: 14px;">{$h_m_s.s}</span>
							<span style="color: #d91d36;float: right;margin-right: 5px;font-size: 14px;">:</span>
							<span class="minute" style="color: #d91d36;float: right;margin-right: 10px;font-size: 14px;">{$h_m_s.m}</span>
							<span style="color: #d91d36;float: right;margin-right: 5px;font-size: 14px;">:</span>
							
							<span class="hour" style="color: #d91d36;float: right;margin-right: 4px;font-size: 14px;">{$h_m_s.h}</span>
					</span></p>
			</div>
		</div>
	</div>
	{block name="body"}{/block}
<script type="application/javascript">
	function destoryWin(){
		var from = "{$from}";
		if( 1==from ){
			window.history.go(-1);
		}else{
			var appfrom = '{$appfrom}';
			if( 1==parseInt(appfrom) ){
				jump2app.jump2MainActivity();
			}else{
				WebViewJavascriptBridge.callHandler('backClick');
			}
		}
	}
	function setupWebViewJavascriptBridge(callback) {
		if (window.WebViewJavascriptBridge) { return callback(WebViewJavascriptBridge); }
		if (window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); }
		window.WVJBCallbacks = [callback];
		var WVJBIframe = document.createElement('iframe');
		WVJBIframe.style.display = 'none';
		WVJBIframe.src = 'https://__bridge_loaded__';
		document.documentElement.appendChild(WVJBIframe);
		setTimeout(function() { document.documentElement.removeChild(WVJBIframe) }, 0)
	}
	setupWebViewJavascriptBridge(function(bridge) {
		/* Initialize your app here */
		bridge.registerHandler('JS Echo', function(data, responseCallback) {
			console.log("JS Echo called with:", data)
			responseCallback(data)
		})
		bridge.callHandler('ObjC Echo', {'key':'value'}, function responseCallback(responseData) {
			console.log("JS received response:", responseData)
		})
	})
</script>
</body>
</html>
